package com.liumuxian.exam.pojo;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;

@Data
@Entity
@Table(name = "tb_handout")
public class Handout implements Serializable {
    @Id
    @Column(name = "id",length = 20)
    private String id;
    @Column(name = "content")
    private String content;//内容
    @Column(name = "type",length = 1)
    private Integer type;//属性
    @Column(name = "isgrasp")
    private String isgrasp;//是否掌握
    @Column(name = "articleattributeid",length = 20)
    private String articleattributeid;//文章章节id
}
